namespace Comms.Drt {
    public class ClientCreateGameRequestMessage : Message {
        public string ClientName;

        public byte[] GameDescriptionBytes;

        public override void Read(Reader reader) {
            ClientName = reader.ReadString();
            GameDescriptionBytes = reader.ReadBytes();
        }

        public override void Write(Writer writer) {
            writer.WriteString(ClientName);
            writer.WriteBytes(GameDescriptionBytes);
        }
    }
}